﻿//============================================================
// Producnt name:		CodeSmith HZ-ACCP
// Version: 			2.0
// Coded by:			yan.guo (yan.guo@jb-aptech.com.cn)
// Auto generated at: 	2009-9-13 14:51:52
//============================================================

using System;
using System.Collections.Generic;
using System.Text;

namespace MyOA.Model
{
	[Serializable()]
	public class Message
	{
  		#region ==== Variable ====
		private int messageId;
		private UserInfo fromUser;
		private string msgTitle=String.Empty;
		private string msgContent=String.Empty;
		private DateTime recordTime;
		private int ifPublish=0;
		#endregion

		public Message() { }

	  	#region ==== Property ====
		public int MessageId
		{
			get { return this.messageId; }
			set { this.messageId = value; }
		}
		public UserInfo FromUser
		{
			get { return this.fromUser; }
			set { this.fromUser = value; }
		}
		
		public string MsgTitle
		{
			get { return this.msgTitle; }
			set { this.msgTitle = value; }
		}	
		public string MsgContent
		{
			get { return this.msgContent; }
			set { this.msgContent = value; }
		}	
		public DateTime RecordTime
		{
			get { return this.recordTime; }
			set { this.recordTime = value; }
		}	
		public int IfPublish
		{
			get { return this.ifPublish; }
			set { this.ifPublish = value; }
		}	
		#endregion
	}
}
